import Vue from 'vue'
import Router from 'vue-router'
import Index from 'pages/index/index'
import HotSpot from 'pages/hotspot/hotspot'
import Trends from 'pages/trends/trends'
import News from 'pages/news/news'
import Notice from 'pages/notice/notice'
import Detail from 'pages/detail/detail'
import DetailNews from 'pages/detail-news/detailNews'
import DetailType from 'pages/detail-type/detailType'
import Anime from 'pages/anime/anime'
import Gallery from 'pages/gallery/gallery'
import Resource from 'pages/resource/resource'
import Info from 'pages/info/info'
import Map from 'pages/map/map'
import Tissue from 'pages/tissue/tissue'
import Policy from 'pages/policy/policy'
import Party from 'pages/party/party'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Index
    },
    {
        path: '/hotspot',
        component: HotSpot
    },
    {
      path: '/trends',
      component: Trends
    },
    {
      path: '/news',
      component: News
    },
    {
      path: '/notice',
      component: Notice
    },
    {
      path: '/detail/:id',
      component: Detail
    },
    {
      path: '/detailNews/:id',
      component: DetailNews
    },
    {
      path: '/detailType/:id',
      component: DetailType
    },
    {
      path: '/anime',
      component: Anime
    },
    {
      path: '/gallery',
      component: Gallery
    },
    {
      path: '/resource',
      component: Resource
    },
    {
      path: '/info',
      component: Info
    },
    {
      path: '/map',
      component: Map
    },
    {
      path: '/tissue',
      component: Tissue
    },
    {
      path: '/policy',
      component: Policy
    },
    {
      path: '/party',
      component: Party
    }
  ]
})
